package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalAppMenuPermissionDao;
import com.appkubes.portal.core.entity.PortalAppMenuPermission;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalAppMenuPermissionService extends AbstractBaseService<BasePortalAppMenuPermissionDao, PortalAppMenuPermission> {

    PortalAppMenuPermission getOneByEntity(PortalAppMenuPermission entity);

    List<PortalAppMenuPermission> selectListByEntity(PortalAppMenuPermission entity);

    IPage<PortalAppMenuPermission> selectPageByEntity(IPage<PortalAppMenuPermission> page);
    IPage<PortalAppMenuPermission> selectPageByEntity(PageVO pageVO);

    IPage<PortalAppMenuPermission> selectPageByEntity(PortalAppMenuPermission entity, IPage<PortalAppMenuPermission> page);
    IPage<PortalAppMenuPermission> selectPageByEntity(PortalAppMenuPermission entity, PageVO pageVO);

    IPage<PortalAppMenuPermission> selectPageByEntity(PortalAppMenuPermission entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalAppMenuPermission entity);
}
